package com.dragon.modules.yuegou.query.live;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.live.BroadcastEntity;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.time.LocalDateTime;

/**
 * 直播间信息表 动态查询条件
 * 
 * @author ZSH
 * @date 2020-06-05 17:40:15
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class BroadcastQuery extends BroadcastEntity implements Query<BroadcastEntity> {

    /** 直播间Id查询条件 */
	@JsonUnwrapped(prefix = "id")
	private Condition<String> idCondition;

    /** 直播间id查询条件 */
	@JsonUnwrapped(prefix = "roomId")
	private Condition<String> roomIdCondition;

    /** 商圈Id查询条件 */
	@JsonUnwrapped(prefix = "busdId")
	private Condition<String> busdIdCondition;

    /** 直播间名称查询条件 */
	@JsonUnwrapped(prefix = "name")
	private Condition<String> nameCondition;

    /** 直播 开始时间查询条件 */
	@JsonUnwrapped(prefix = "beginTime")
	private Condition<LocalDateTime> beginTimeCondition;

    /** 结束 结束时间查询条件 */
	@JsonUnwrapped(prefix = "endTime")
	private Condition<LocalDateTime> endTimeCondition;

    /** 主播昵称查询条件 */
	@JsonUnwrapped(prefix = "anchorName")
	private Condition<String> anchorNameCondition;

    /** 主播微信号查询条件 */
	@JsonUnwrapped(prefix = "anchorWechat")
	private Condition<String> anchorWechatCondition;

    /** 直播间背景图查询条件 */
	@JsonUnwrapped(prefix = "coverImg")
	private Condition<String> coverImgCondition;

    /** 直播间背景图 微信mediaID查询条件 */
	@JsonUnwrapped(prefix = "coverImgMedia")
	private Condition<String> coverImgMediaCondition;

    /** 直播间分享图查询条件 */
	@JsonUnwrapped(prefix = "shareImg")
	private Condition<String> shareImgCondition;

    /** 直播间分享图 微信mediaID查询条件 */
	@JsonUnwrapped(prefix = "shareImgMedia")
	private Condition<String> shareImgMediaCondition;

    /** 直播卡片封面查询条件 */
	@JsonUnwrapped(prefix = "feedsImg")
	private Condition<String> feedsImgCondition;

    /** 直播卡片封面  微信mediaID查询条件 */
	@JsonUnwrapped(prefix = "feedsImgMedia")
	private Condition<String> feedsImgMediaCondition;

    /** 直播状态 101: 直播中, 102: 未开始, 103: 已结束, 104: 禁播, 105: 暂停中, 106: 异常, 107: 已过期查询条件 */
	@JsonUnwrapped(prefix = "liveStatus")
	private Condition<String> liveStatusCondition;

    /** 直播类型:1：横屏，0：竖屏查询条件 */
	@JsonUnwrapped(prefix = "type")
	private Condition<Boolean> typeCondition;

    /** 1：横屏，0：竖屏查询条件 */
	@JsonUnwrapped(prefix = "screenType")
	private Condition<Boolean> screenTypeCondition;

    /** 1：关闭点赞 0：开启点赞查询条件 */
	@JsonUnwrapped(prefix = "closeLike")
	private Condition<Boolean> closeLikeCondition;

    /** 1：关闭货架 0：打开货架查询条件 */
	@JsonUnwrapped(prefix = "closeGoods")
	private Condition<Boolean> closeGoodsCondition;

    /** 1：关闭评论 0：打开评论查询条件 */
	@JsonUnwrapped(prefix = "closeComment")
	private Condition<Boolean> closeCommentCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "createdBy")
	private Condition<String> createdByCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "modifiedTime")
	private Condition<LocalDateTime> modifiedTimeCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "modifiedBy")
	private Condition<String> modifiedByCondition;

    /** 逻辑删除，1表示已删除,0表示未删除查询条件 */
	@JsonUnwrapped(prefix = "del")
	private Condition<Boolean> delCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "delBy")
	private Condition<String> delByCondition;

    /** 查询条件 */
	@JsonUnwrapped(prefix = "delTime")
	private Condition<LocalDateTime> delTimeCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public BroadcastQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public BroadcastQuery(BroadcastEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public BroadcastQuery(BroadcastQuery other) {
		super(other);
		if(other.idCondition != null) {
			this.idCondition = other.idCondition.copy();
		}
		if(other.roomIdCondition != null) {
			this.roomIdCondition = other.roomIdCondition.copy();
		}
		if(other.busdIdCondition != null) {
			this.busdIdCondition = other.busdIdCondition.copy();
		}
		if(other.nameCondition != null) {
			this.nameCondition = other.nameCondition.copy();
		}
		if(other.beginTimeCondition != null) {
			this.beginTimeCondition = other.beginTimeCondition.copy();
		}
		if(other.endTimeCondition != null) {
			this.endTimeCondition = other.endTimeCondition.copy();
		}
		if(other.anchorNameCondition != null) {
			this.anchorNameCondition = other.anchorNameCondition.copy();
		}
		if(other.anchorWechatCondition != null) {
			this.anchorWechatCondition = other.anchorWechatCondition.copy();
		}
		if(other.coverImgCondition != null) {
			this.coverImgCondition = other.coverImgCondition.copy();
		}
		if(other.coverImgMediaCondition != null) {
			this.coverImgMediaCondition = other.coverImgMediaCondition.copy();
		}
		if(other.shareImgCondition != null) {
			this.shareImgCondition = other.shareImgCondition.copy();
		}
		if(other.shareImgMediaCondition != null) {
			this.shareImgMediaCondition = other.shareImgMediaCondition.copy();
		}
		if(other.feedsImgCondition != null) {
			this.feedsImgCondition = other.feedsImgCondition.copy();
		}
		if(other.feedsImgMediaCondition != null) {
			this.feedsImgMediaCondition = other.feedsImgMediaCondition.copy();
		}
		this.setOther(other);
	}
	private void setOther(BroadcastQuery other){
		if(other.liveStatusCondition != null) {
			this.liveStatusCondition = other.liveStatusCondition.copy();
		}
		if(other.typeCondition != null) {
			this.typeCondition = other.typeCondition.copy();
		}
		if(other.screenTypeCondition != null) {
			this.screenTypeCondition = other.screenTypeCondition.copy();
		}
		if(other.closeLikeCondition != null) {
			this.closeLikeCondition = other.closeLikeCondition.copy();
		}
		if(other.closeGoodsCondition != null) {
			this.closeGoodsCondition = other.closeGoodsCondition.copy();
		}
		if(other.closeCommentCondition != null) {
			this.closeCommentCondition = other.closeCommentCondition.copy();
		}
		if(other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		if(other.createdByCondition != null) {
			this.createdByCondition = other.createdByCondition.copy();
		}
		if(other.modifiedTimeCondition != null) {
			this.modifiedTimeCondition = other.modifiedTimeCondition.copy();
		}
		if(other.modifiedByCondition != null) {
			this.modifiedByCondition = other.modifiedByCondition.copy();
		}
		if(other.delCondition != null) {
			this.delCondition = other.delCondition.copy();
		}
		if(other.delByCondition != null) {
			this.delByCondition = other.delByCondition.copy();
		}
		if(other.delTimeCondition != null) {
			this.delTimeCondition = other.delTimeCondition.copy();
		}
	}

	@Override
	public QueryWrapper<BroadcastEntity> toQueryWrapper() {
		QueryWrapper<BroadcastEntity> wrapper = new QueryWrapper<>(this);
		if (idCondition != null) {
			idCondition.toWrapper(wrapper, COL_ID);
		}
		if (roomIdCondition != null) {
			roomIdCondition.toWrapper(wrapper, COL_ROOM_ID);
		}
		if (busdIdCondition != null) {
			busdIdCondition.toWrapper(wrapper, COL_BUSD_ID);
		}
		if (nameCondition != null) {
			nameCondition.toWrapper(wrapper, COL_NAME);
		}
		if (beginTimeCondition != null) {
			beginTimeCondition.toWrapper(wrapper, COL_BEGIN_TIME);
		}
		if (endTimeCondition != null) {
			endTimeCondition.toWrapper(wrapper, COL_END_TIME);
		}
		if (anchorNameCondition != null) {
			anchorNameCondition.toWrapper(wrapper, COL_ANCHOR_NAME);
		}
		if (anchorWechatCondition != null) {
			anchorWechatCondition.toWrapper(wrapper, COL_ANCHOR_WECHAT);
		}
		if (coverImgCondition != null) {
			coverImgCondition.toWrapper(wrapper, COL_COVER_IMG);
		}
		if (coverImgMediaCondition != null) {
			coverImgMediaCondition.toWrapper(wrapper, COL_COVER_IMG_MEDIA);
		}
		if (shareImgCondition != null) {
			shareImgCondition.toWrapper(wrapper, COL_SHARE_IMG);
		}
		if (shareImgMediaCondition != null) {
			shareImgMediaCondition.toWrapper(wrapper, COL_SHARE_IMG_MEDIA);
		}
		if (feedsImgCondition != null) {
			feedsImgCondition.toWrapper(wrapper, COL_FEEDS_IMG);
		}
		if (feedsImgMediaCondition != null) {
			feedsImgMediaCondition.toWrapper(wrapper, COL_FEEDS_IMG_MEDIA);
		}
		return getQueryWrapper(wrapper);
	}

	private QueryWrapper<BroadcastEntity> getQueryWrapper(QueryWrapper<BroadcastEntity> wrapper){
		if (liveStatusCondition != null) {
			liveStatusCondition.toWrapper(wrapper, COL_LIVE_STATUS);
		}
		if (typeCondition != null) {
			typeCondition.toWrapper(wrapper, COL_TYPE);
		}
		if (screenTypeCondition != null) {
			screenTypeCondition.toWrapper(wrapper, COL_SCREEN_TYPE);
		}
		if (closeLikeCondition != null) {
			closeLikeCondition.toWrapper(wrapper, COL_CLOSE_LIKE);
		}
		if (closeGoodsCondition != null) {
			closeGoodsCondition.toWrapper(wrapper, COL_CLOSE_GOODS);
		}
		if (closeCommentCondition != null) {
			closeCommentCondition.toWrapper(wrapper, COL_CLOSE_COMMENT);
		}
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		if (createdByCondition != null) {
			createdByCondition.toWrapper(wrapper, COL_CREATED_BY);
		}
		if (modifiedTimeCondition != null) {
			modifiedTimeCondition.toWrapper(wrapper, COL_MODIFIED_TIME);
		}
		if (modifiedByCondition != null) {
			modifiedByCondition.toWrapper(wrapper, COL_MODIFIED_BY);
		}
		if (delCondition != null) {
			delCondition.toWrapper(wrapper, COL_DEL);
		}
		if (delByCondition != null) {
			delByCondition.toWrapper(wrapper, COL_DEL_BY);
		}
		if (delTimeCondition != null) {
			delTimeCondition.toWrapper(wrapper, COL_DEL_TIME);
		}
		return wrapper;
	}

	/**
	 * 构造并返回直播间Id查询条件
	 * 
	 * @return idCondition 直播间Id查询条件
	 */
	public Condition<String> id() {
		this.idCondition = new Condition<>();
		return this.idCondition;
	}
	
	/**
	 * 获取直播间Id查询条件
	 * 
	 * @return idCondition 直播间Id查询条件
	 */
	public Condition<String> getIdCondition() {
		return idCondition;
	}

	/**
	 * 设置直播间Id查询条件
	 * 
	 * @param idCondition 直播间Id查询条件
	 */
	public void setIdCondition(Condition<String> idCondition) {
		this.idCondition = idCondition;
	}

	/**
	 * 构造并返回直播间id查询条件
	 * 
	 * @return roomIdCondition 直播间id查询条件
	 */
	public Condition<String> roomId() {
		this.roomIdCondition = new Condition<>();
		return this.roomIdCondition;
	}
	
	/**
	 * 获取直播间id查询条件
	 * 
	 * @return roomIdCondition 直播间id查询条件
	 */
	public Condition<String> getRoomIdCondition() {
		return roomIdCondition;
	}

	/**
	 * 设置直播间id查询条件
	 * 
	 * @param roomIdCondition 直播间id查询条件
	 */
	public void setRoomIdCondition(Condition<String> roomIdCondition) {
		this.roomIdCondition = roomIdCondition;
	}

	/**
	 * 构造并返回商圈Id查询条件
	 * 
	 * @return busdIdCondition 商圈Id查询条件
	 */
	public Condition<String> busdId() {
		this.busdIdCondition = new Condition<>();
		return this.busdIdCondition;
	}
	
	/**
	 * 获取商圈Id查询条件
	 * 
	 * @return busdIdCondition 商圈Id查询条件
	 */
	public Condition<String> getBusdIdCondition() {
		return busdIdCondition;
	}

	/**
	 * 设置商圈Id查询条件
	 * 
	 * @param busdIdCondition 商圈Id查询条件
	 */
	public void setBusdIdCondition(Condition<String> busdIdCondition) {
		this.busdIdCondition = busdIdCondition;
	}

	/**
	 * 构造并返回直播间名称查询条件
	 * 
	 * @return nameCondition 直播间名称查询条件
	 */
	public Condition<String> name() {
		this.nameCondition = new Condition<>();
		return this.nameCondition;
	}
	
	/**
	 * 获取直播间名称查询条件
	 * 
	 * @return nameCondition 直播间名称查询条件
	 */
	public Condition<String> getNameCondition() {
		return nameCondition;
	}

	/**
	 * 设置直播间名称查询条件
	 * 
	 * @param nameCondition 直播间名称查询条件
	 */
	public void setNameCondition(Condition<String> nameCondition) {
		this.nameCondition = nameCondition;
	}

	/**
	 * 构造并返回直播 开始时间查询条件
	 * 
	 * @return beginTimeCondition 直播 开始时间查询条件
	 */
	public Condition<LocalDateTime> beginTime() {
		this.beginTimeCondition = new Condition<>();
		return this.beginTimeCondition;
	}
	
	/**
	 * 获取直播 开始时间查询条件
	 * 
	 * @return beginTimeCondition 直播 开始时间查询条件
	 */
	public Condition<LocalDateTime> getBeginTimeCondition() {
		return beginTimeCondition;
	}

	/**
	 * 设置直播 开始时间查询条件
	 * 
	 * @param beginTimeCondition 直播 开始时间查询条件
	 */
	public void setBeginTimeCondition(Condition<LocalDateTime> beginTimeCondition) {
		this.beginTimeCondition = beginTimeCondition;
	}

	/**
	 * 构造并返回结束 结束时间查询条件
	 * 
	 * @return endTimeCondition 结束 结束时间查询条件
	 */
	public Condition<LocalDateTime> endTime() {
		this.endTimeCondition = new Condition<>();
		return this.endTimeCondition;
	}
	
	/**
	 * 获取结束 结束时间查询条件
	 * 
	 * @return endTimeCondition 结束 结束时间查询条件
	 */
	public Condition<LocalDateTime> getEndTimeCondition() {
		return endTimeCondition;
	}

	/**
	 * 设置结束 结束时间查询条件
	 * 
	 * @param endTimeCondition 结束 结束时间查询条件
	 */
	public void setEndTimeCondition(Condition<LocalDateTime> endTimeCondition) {
		this.endTimeCondition = endTimeCondition;
	}

	/**
	 * 构造并返回主播昵称查询条件
	 * 
	 * @return anchorNameCondition 主播昵称查询条件
	 */
	public Condition<String> anchorName() {
		this.anchorNameCondition = new Condition<>();
		return this.anchorNameCondition;
	}
	
	/**
	 * 获取主播昵称查询条件
	 * 
	 * @return anchorNameCondition 主播昵称查询条件
	 */
	public Condition<String> getAnchorNameCondition() {
		return anchorNameCondition;
	}

	/**
	 * 设置主播昵称查询条件
	 * 
	 * @param anchorNameCondition 主播昵称查询条件
	 */
	public void setAnchorNameCondition(Condition<String> anchorNameCondition) {
		this.anchorNameCondition = anchorNameCondition;
	}

	/**
	 * 构造并返回主播微信号查询条件
	 * 
	 * @return anchorWechatCondition 主播微信号查询条件
	 */
	public Condition<String> anchorWechat() {
		this.anchorWechatCondition = new Condition<>();
		return this.anchorWechatCondition;
	}
	
	/**
	 * 获取主播微信号查询条件
	 * 
	 * @return anchorWechatCondition 主播微信号查询条件
	 */
	public Condition<String> getAnchorWechatCondition() {
		return anchorWechatCondition;
	}

	/**
	 * 设置主播微信号查询条件
	 * 
	 * @param anchorWechatCondition 主播微信号查询条件
	 */
	public void setAnchorWechatCondition(Condition<String> anchorWechatCondition) {
		this.anchorWechatCondition = anchorWechatCondition;
	}

	/**
	 * 构造并返回直播间背景图查询条件
	 * 
	 * @return coverImgCondition 直播间背景图查询条件
	 */
	public Condition<String> coverImg() {
		this.coverImgCondition = new Condition<>();
		return this.coverImgCondition;
	}
	
	/**
	 * 获取直播间背景图查询条件
	 * 
	 * @return coverImgCondition 直播间背景图查询条件
	 */
	public Condition<String> getCoverImgCondition() {
		return coverImgCondition;
	}

	/**
	 * 设置直播间背景图查询条件
	 * 
	 * @param coverImgCondition 直播间背景图查询条件
	 */
	public void setCoverImgCondition(Condition<String> coverImgCondition) {
		this.coverImgCondition = coverImgCondition;
	}

	/**
	 * 构造并返回直播间背景图 微信mediaID查询条件
	 * 
	 * @return coverImgMediaCondition 直播间背景图 微信mediaID查询条件
	 */
	public Condition<String> coverImgMedia() {
		this.coverImgMediaCondition = new Condition<>();
		return this.coverImgMediaCondition;
	}
	
	/**
	 * 获取直播间背景图 微信mediaID查询条件
	 * 
	 * @return coverImgMediaCondition 直播间背景图 微信mediaID查询条件
	 */
	public Condition<String> getCoverImgMediaCondition() {
		return coverImgMediaCondition;
	}

	/**
	 * 设置直播间背景图 微信mediaID查询条件
	 * 
	 * @param coverImgMediaCondition 直播间背景图 微信mediaID查询条件
	 */
	public void setCoverImgMediaCondition(Condition<String> coverImgMediaCondition) {
		this.coverImgMediaCondition = coverImgMediaCondition;
	}

	/**
	 * 构造并返回直播间分享图查询条件
	 * 
	 * @return shareImgCondition 直播间分享图查询条件
	 */
	public Condition<String> shareImg() {
		this.shareImgCondition = new Condition<>();
		return this.shareImgCondition;
	}
	
	/**
	 * 获取直播间分享图查询条件
	 * 
	 * @return shareImgCondition 直播间分享图查询条件
	 */
	public Condition<String> getShareImgCondition() {
		return shareImgCondition;
	}

	/**
	 * 设置直播间分享图查询条件
	 * 
	 * @param shareImgCondition 直播间分享图查询条件
	 */
	public void setShareImgCondition(Condition<String> shareImgCondition) {
		this.shareImgCondition = shareImgCondition;
	}

	/**
	 * 构造并返回直播间分享图 微信mediaID查询条件
	 * 
	 * @return shareImgMediaCondition 直播间分享图 微信mediaID查询条件
	 */
	public Condition<String> shareImgMedia() {
		this.shareImgMediaCondition = new Condition<>();
		return this.shareImgMediaCondition;
	}
	
	/**
	 * 获取直播间分享图 微信mediaID查询条件
	 * 
	 * @return shareImgMediaCondition 直播间分享图 微信mediaID查询条件
	 */
	public Condition<String> getShareImgMediaCondition() {
		return shareImgMediaCondition;
	}

	/**
	 * 设置直播间分享图 微信mediaID查询条件
	 * 
	 * @param shareImgMediaCondition 直播间分享图 微信mediaID查询条件
	 */
	public void setShareImgMediaCondition(Condition<String> shareImgMediaCondition) {
		this.shareImgMediaCondition = shareImgMediaCondition;
	}

	/**
	 * 构造并返回直播卡片封面查询条件
	 * 
	 * @return feedsImgCondition 直播卡片封面查询条件
	 */
	public Condition<String> feedsImg() {
		this.feedsImgCondition = new Condition<>();
		return this.feedsImgCondition;
	}
	
	/**
	 * 获取直播卡片封面查询条件
	 * 
	 * @return feedsImgCondition 直播卡片封面查询条件
	 */
	public Condition<String> getFeedsImgCondition() {
		return feedsImgCondition;
	}

	/**
	 * 设置直播卡片封面查询条件
	 * 
	 * @param feedsImgCondition 直播卡片封面查询条件
	 */
	public void setFeedsImgCondition(Condition<String> feedsImgCondition) {
		this.feedsImgCondition = feedsImgCondition;
	}

	/**
	 * 构造并返回直播卡片封面  微信mediaID查询条件
	 * 
	 * @return feedsImgMediaCondition 直播卡片封面  微信mediaID查询条件
	 */
	public Condition<String> feedsImgMedia() {
		this.feedsImgMediaCondition = new Condition<>();
		return this.feedsImgMediaCondition;
	}
	
	/**
	 * 获取直播卡片封面  微信mediaID查询条件
	 * 
	 * @return feedsImgMediaCondition 直播卡片封面  微信mediaID查询条件
	 */
	public Condition<String> getFeedsImgMediaCondition() {
		return feedsImgMediaCondition;
	}

	/**
	 * 设置直播卡片封面  微信mediaID查询条件
	 * 
	 * @param feedsImgMediaCondition 直播卡片封面  微信mediaID查询条件
	 */
	public void setFeedsImgMediaCondition(Condition<String> feedsImgMediaCondition) {
		this.feedsImgMediaCondition = feedsImgMediaCondition;
	}

	/**
	 * 构造并返回直播状态 101: 直播中, 102: 未开始, 103: 已结束, 104: 禁播, 105: 暂停中, 106: 异常, 107: 已过期查询条件
	 * 
	 * @return liveStatusCondition 直播状态 101: 直播中, 102: 未开始, 103: 已结束, 104: 禁播, 105: 暂停中, 106: 异常, 107: 已过期查询条件
	 */
	public Condition<String> liveStatus() {
		this.liveStatusCondition = new Condition<>();
		return this.liveStatusCondition;
	}
	
	/**
	 * 获取直播状态 101: 直播中, 102: 未开始, 103: 已结束, 104: 禁播, 105: 暂停中, 106: 异常, 107: 已过期查询条件
	 * 
	 * @return liveStatusCondition 直播状态 101: 直播中, 102: 未开始, 103: 已结束, 104: 禁播, 105: 暂停中, 106: 异常, 107: 已过期查询条件
	 */
	public Condition<String> getLiveStatusCondition() {
		return liveStatusCondition;
	}

	/**
	 * 设置直播状态 101: 直播中, 102: 未开始, 103: 已结束, 104: 禁播, 105: 暂停中, 106: 异常, 107: 已过期查询条件
	 * 
	 * @param liveStatusCondition 直播状态 101: 直播中, 102: 未开始, 103: 已结束, 104: 禁播, 105: 暂停中, 106: 异常, 107: 已过期查询条件
	 */
	public void setLiveStatusCondition(Condition<String> liveStatusCondition) {
		this.liveStatusCondition = liveStatusCondition;
	}

	/**
	 * 构造并返回直播类型:1：横屏，0：竖屏查询条件
	 * 
	 * @return typeCondition 直播类型:1：横屏，0：竖屏查询条件
	 */
	public Condition<Boolean> type() {
		this.typeCondition = new Condition<>();
		return this.typeCondition;
	}
	
	/**
	 * 获取直播类型:1：横屏，0：竖屏查询条件
	 * 
	 * @return typeCondition 直播类型:1：横屏，0：竖屏查询条件
	 */
	public Condition<Boolean> getTypeCondition() {
		return typeCondition;
	}

	/**
	 * 设置直播类型:1：横屏，0：竖屏查询条件
	 * 
	 * @param typeCondition 直播类型:1：横屏，0：竖屏查询条件
	 */
	public void setTypeCondition(Condition<Boolean> typeCondition) {
		this.typeCondition = typeCondition;
	}

	/**
	 * 构造并返回1：横屏，0：竖屏查询条件
	 * 
	 * @return screenTypeCondition 1：横屏，0：竖屏查询条件
	 */
	public Condition<Boolean> screenType() {
		this.screenTypeCondition = new Condition<>();
		return this.screenTypeCondition;
	}
	
	/**
	 * 获取1：横屏，0：竖屏查询条件
	 * 
	 * @return screenTypeCondition 1：横屏，0：竖屏查询条件
	 */
	public Condition<Boolean> getScreenTypeCondition() {
		return screenTypeCondition;
	}

	/**
	 * 设置1：横屏，0：竖屏查询条件
	 * 
	 * @param screenTypeCondition 1：横屏，0：竖屏查询条件
	 */
	public void setScreenTypeCondition(Condition<Boolean> screenTypeCondition) {
		this.screenTypeCondition = screenTypeCondition;
	}

	/**
	 * 构造并返回1：关闭点赞 0：开启点赞查询条件
	 * 
	 * @return closeLikeCondition 1：关闭点赞 0：开启点赞查询条件
	 */
	public Condition<Boolean> closeLike() {
		this.closeLikeCondition = new Condition<>();
		return this.closeLikeCondition;
	}
	
	/**
	 * 获取1：关闭点赞 0：开启点赞查询条件
	 * 
	 * @return closeLikeCondition 1：关闭点赞 0：开启点赞查询条件
	 */
	public Condition<Boolean> getCloseLikeCondition() {
		return closeLikeCondition;
	}

	/**
	 * 设置1：关闭点赞 0：开启点赞查询条件
	 * 
	 * @param closeLikeCondition 1：关闭点赞 0：开启点赞查询条件
	 */
	public void setCloseLikeCondition(Condition<Boolean> closeLikeCondition) {
		this.closeLikeCondition = closeLikeCondition;
	}

	/**
	 * 构造并返回1：关闭货架 0：打开货架查询条件
	 * 
	 * @return closeGoodsCondition 1：关闭货架 0：打开货架查询条件
	 */
	public Condition<Boolean> closeGoods() {
		this.closeGoodsCondition = new Condition<>();
		return this.closeGoodsCondition;
	}
	
	/**
	 * 获取1：关闭货架 0：打开货架查询条件
	 * 
	 * @return closeGoodsCondition 1：关闭货架 0：打开货架查询条件
	 */
	public Condition<Boolean> getCloseGoodsCondition() {
		return closeGoodsCondition;
	}

	/**
	 * 设置1：关闭货架 0：打开货架查询条件
	 * 
	 * @param closeGoodsCondition 1：关闭货架 0：打开货架查询条件
	 */
	public void setCloseGoodsCondition(Condition<Boolean> closeGoodsCondition) {
		this.closeGoodsCondition = closeGoodsCondition;
	}

	/**
	 * 构造并返回1：关闭评论 0：打开评论查询条件
	 * 
	 * @return closeCommentCondition 1：关闭评论 0：打开评论查询条件
	 */
	public Condition<Boolean> closeComment() {
		this.closeCommentCondition = new Condition<>();
		return this.closeCommentCondition;
	}
	
	/**
	 * 获取1：关闭评论 0：打开评论查询条件
	 * 
	 * @return closeCommentCondition 1：关闭评论 0：打开评论查询条件
	 */
	public Condition<Boolean> getCloseCommentCondition() {
		return closeCommentCondition;
	}

	/**
	 * 设置1：关闭评论 0：打开评论查询条件
	 * 
	 * @param closeCommentCondition 1：关闭评论 0：打开评论查询条件
	 */
	public void setCloseCommentCondition(Condition<Boolean> closeCommentCondition) {
		this.closeCommentCondition = closeCommentCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return createdTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return createdTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param createdTimeCondition 查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return createdByCondition 查询条件
	 */
	public Condition<String> createdBy() {
		this.createdByCondition = new Condition<>();
		return this.createdByCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return createdByCondition 查询条件
	 */
	public Condition<String> getCreatedByCondition() {
		return createdByCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param createdByCondition 查询条件
	 */
	public void setCreatedByCondition(Condition<String> createdByCondition) {
		this.createdByCondition = createdByCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return modifiedTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> modifiedTime() {
		this.modifiedTimeCondition = new Condition<>();
		return this.modifiedTimeCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return modifiedTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> getModifiedTimeCondition() {
		return modifiedTimeCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param modifiedTimeCondition 查询条件
	 */
	public void setModifiedTimeCondition(Condition<LocalDateTime> modifiedTimeCondition) {
		this.modifiedTimeCondition = modifiedTimeCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return modifiedByCondition 查询条件
	 */
	public Condition<String> modifiedBy() {
		this.modifiedByCondition = new Condition<>();
		return this.modifiedByCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return modifiedByCondition 查询条件
	 */
	public Condition<String> getModifiedByCondition() {
		return modifiedByCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param modifiedByCondition 查询条件
	 */
	public void setModifiedByCondition(Condition<String> modifiedByCondition) {
		this.modifiedByCondition = modifiedByCondition;
	}

	/**
	 * 构造并返回逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @return delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public Condition<Boolean> del() {
		this.delCondition = new Condition<>();
		return this.delCondition;
	}
	
	/**
	 * 获取逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @return delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public Condition<Boolean> getDelCondition() {
		return delCondition;
	}

	/**
	 * 设置逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @param delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public void setDelCondition(Condition<Boolean> delCondition) {
		this.delCondition = delCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return delByCondition 查询条件
	 */
	public Condition<String> delBy() {
		this.delByCondition = new Condition<>();
		return this.delByCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return delByCondition 查询条件
	 */
	public Condition<String> getDelByCondition() {
		return delByCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param delByCondition 查询条件
	 */
	public void setDelByCondition(Condition<String> delByCondition) {
		this.delByCondition = delByCondition;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return delTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> delTime() {
		this.delTimeCondition = new Condition<>();
		return this.delTimeCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return delTimeCondition 查询条件
	 */
	public Condition<LocalDateTime> getDelTimeCondition() {
		return delTimeCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param delTimeCondition 查询条件
	 */
	public void setDelTimeCondition(Condition<LocalDateTime> delTimeCondition) {
		this.delTimeCondition = delTimeCondition;
	}

}
